using FishFillets.Data;
using FishFillets.Data.levels;
using FishFillets.Model;

namespace FishFillets.ObjectLogic
{
    /// <summary>
    /// 
    /// </summary>
    public class MapManager
    {
        public Map Map { get; set; }

        public MapManager()
        {
            // Load saved game map from last time.
            Map = InitMap.Load();
        }

        public BaseLevelScript LoadLevel(string name, ILevelAgent agent)
        {
            return InitLevel.Load(name, agent);
        }
    }
}
